<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/styles/general.css"/>
<link rel="stylesheet" type="text/css" href="/styles/main.css" />
<link rel="stylesheet" type="text/css" href="/styles/pager.css"/> 
<style type="text/css" media=print>  
.noprint{display : none }  
</style>  
<script src="/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="/js/jquery.barcode.0.3.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$(".batch").barcode({code:'code39'});
	/*
	$.ajax({
        url: "/compoundsave/indexAjaxall/page/1/compoundid/1",
        cache: false,
        success: function(html){
            $("#divsavelist").html(html);
        }
    });
	$.ajax({
        url: "/compoundspectrum/indexAjaxall/page/1/compoundid/1",
        cache: false,
        success: function(html){
            $("#divspectrumlist").html(html);
        }
    });
	$.ajax({
        url: "/compoundreference/indexAjaxall/page/1/compoundid/1",
        cache: false,
        success: function(html){
            $("#divreferencelist").html(html);
        }
    });*/
});
</script>
<title></title>
</head>
<body>
<h1>
<span class="action-span noprint"><a href="#" onclick="javascript:window.print();return false;">打印</a></span>
<span class="action-span1">化合物详细信息 </span>
<div style="clear:both"></div>
</h1>
<div class="list-div" style="border:0px">
   <table width="100%">
  	<tr>
        <td  rowspan="13" style="width:370px;" align="center" valign="middle">
			<img src="/svg/big/{$info['id']}.gif" />
        </td>
        <td class="label">项目编号：</td>
        <td>
			{$info['projectid']}
        </td>
     </tr>
     <tr>
        <td class="label">CAS No.：</td>
        <td>
			{$info['casno']}
        </td>
     </tr>
     <tr>
        <td class="label">内部编号：</td>
        <td>
			{$info['compoundno']}
        </td>
     </tr>
     <tr>
        <td class="label">中文名：</td>
        <td>
			{$info['compoundname']}
        </td>
     </tr>
     <tr>
        <td class="label subtable">英文名：</td>
        <td class="subtable">
			{$info['compoundnameen']}
        </td>
     </tr>
     <tr>
        <td class="label subtable">别名：</td>
        <td class="subtable">
			{$info['compoundnameother']}
        </td>
     </tr>
     <tr>
        <td class="label">盐：</td>
        <td>
        	<table width="100%">
					  	<tr>
					  		<td width="50%">盐</td>
					  		<td>系数</td>
					  	</tr>
	        	{loop $saltinfos $k $saltinfo}
						<tr>
					        <td>
								{$saltinfo['salt']}
					        </td>
					     
					        <td>
								{$saltinfo['num']}
					        </td>
					      
					      </tr>
				 {/loop}	
				  </table>  
        </td>
     </tr>
        <tr>
        <td class="label subtable">溶剂：</td>
        <td class="subtable">
        	<table width="100%">
					  	<tr>
					  		<td width="50%">溶剂</td>
					  		<td>系数</td>
					  	</tr>
	        	{loop $solventInfos $k $solventinfo}
						<tr>
					        <td>
								{$solventinfo['dict5']}
					        </td>
					     
					        <td>
								{$solventinfo['num']}
					        </td>
					      
					      </tr>
				 {/loop}	
				  </table>  
        </td>
     </tr>

      <!-- 
     <tr>
        <td class="label">分子式：</td>
        <td>
			{form text * formula formula $info['formula']}
        </td>
        <td><div id='formulaTip' style="width:250px"></div></td>
     </tr>
    
     
     <tr>
        <td class="label">分子量：</td>
        <td>
			{form text * molecularweight molecularweight $info['molecularweight']}
        </td>
        <td><div id='molecularweightTip' style="width:250px"></div></td>
     </tr>
      -->
     <tr>
        <td class="label">是否终产物：</td>
        <td>
			{$info['product']}
        </td>
     </tr>
     <tr>
        <td class="label">是否专利保护：</td>
        <td>
			{$info['patent']}
        </td>
     </tr>
     <tr>
        <td class="label">试验记录本编号：</td>
        <td>
			{$info['noteid']}
        </td>
      </tr>
      <tr>
        <td class="label subtable">页码：</td>
        <td class="subtable">
			{$info['notepage']}
        </td>
      </tr>
     <tr>
        <td class="label">外观性状：</td>
        <td>
			{$info['appearance']}
        </td>
     </tr>
     <tr>
     	<td  rowspan="8" style="width:300px"></td>
        <td class="label">溶解性：</td>
        <td>
			{$info['solubility']}
        </td>
     </tr>
     <tr>
        <td class="label">熔点：</td>
        <td>
			{$info['meltingpoint']}
        </td>
     </tr>
     <tr>
        <td class="label">沸点：</td>
        <td>
			{$info['boilingpoint']}
        </td>
     </tr>
     
     <tr>
        <td class="label">稳定性：</td>
        <td>
			{$info['stability']}
        </td>
     </tr>
     <tr>
        <td class="label">旋光性：</td>
        <td>
			{$info['optical']}
        </td>
      </tr>
      <tr>
        <td class="label">手性：</td>
        <td>
			{$info['chirality']}
        </td>
      </tr>
      <tr>
        <td class="label">LogP：</td>
        <td>
			{$info['logp']}
        </td>
      </tr>
      <tr>
        <td class="label">PSA：</td>
        <td>
			{$info['psa']}
        </td>
      </tr>     
  </table>
  <table width="100%">
  	     <tr>
        <td class="label">合成路线：</td>
        <td>
        	<img src="/svg/{$info['id']}.route.gif" />
        </td>
     </tr>
     <tr>
        <td class="label">试验记录：</td>
        <td>
			{$info['synthesisdoc']}
        </td>
     </tr>
    
	 <tr>
	        <td class="label">谱图信息：</td>
	        <td>
		        	<table width="100%"  class="subtable">
		        		<tr>
					     <td>谱图</td>
					    </tr>
	        	{loop $spectruminfos $k $spectruminfo}
					 <tr>
					    <td>
		        		【{$spectruminfo['spectrumtypeid']}】 
		        		{$spectruminfo['spectrumname']}
		        		{$spectruminfo['spectrumdes']}
<br>
					    <img src="/upload/file/{$spectruminfo['spectrumurl']}" />
		        		</td>				
					</tr>
				{/loop}	    
				</table> 	
	           </td>
	      </tr>
		  <tr>
	        <td class="label"> 样品信息：</td>
	        <td>
					  <table width="100%"  class="subtable">
					  	<tr>
					  		<td>批次</td>
					  		<td>量</td>
					  		<td>纯度%</td>
					  		<td>保存容器</td>
					  		<td>位置</td>
					  		<td>生产日期</td>
					  		<td width="100px">条形码</td>
					  	</tr>
	        	{loop $saveinfos $k $saveinfo}
						<tr>
					        <td>
					        	
								{$saveinfo['batch']}
					        </td>
							<td>
								{$saveinfo['num']}{$saveinfo['dict1']}
					        </td>					     
					        <td>
								{$saveinfo['purity']}
					        </td>
					   
					        <td>
								{$saveinfo['container']}
					        </td>
					    
					        <td>
								{$saveinfo['location']}
					        </td>
					    	
					        <td>
								{$saveinfo['producedate']}
					        </td>
					        <td>
					        	<div class="batch" style="width:100px;height:20px">
									{$saveinfo['batch']}
								</div>
							</td>
					      </tr>
				 {/loop}	
				  </table>  
	        </td>
	      </tr>

		  <tr>
	        <td class="label"> 相关成果：</td>
	        <td>
	        	<table width="100%" class="subtable">
	        	{loop $gaininfos $k $gaininfo}
						<tr>
							<td>
							 <a target="_blank" href="/upload/file/{$gaininfo['gainfileurl']}">{$gaininfo['gainfilename']}</a>
							</td>
						</tr>
				{/loop}	 
				</table>       	
	        </td>
	      </tr>
	       <tr>
	        <td class="label"> 参考文献：</td>
	        <td>
	        	<table width="100%" class="subtable">
	        	{loop $referencesinfos $k $referencesinfo}		        	
						<tr>
							<td>
							 <a target="_blank" href="/upload/file/{$referencesinfo['referencesurl']}">{$referencesinfo['referencesname']}</a>
							</td>
						</tr>
				{/loop}
	        	</table>
	        </td>
	 </tr>
	</table>
</div>
{template 'footer.html'}
</body>
</html>